//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-01B
TN_Widget.CreateTable([['Charlotte 49ers vs. Rice Owls','Robert and Mariam Hayes Stadium','Charlotte, NC','Friday','5/3/2024','6:00 PM','6229329','Charlotte-49ers-vs--Rice-Owls-5-3-2024'],['Charlotte 49ers vs. Rice Owls','Robert and Mariam Hayes Stadium','Charlotte, NC','Saturday','5/4/2024','2:00 PM','6229330','Charlotte-49ers-vs--Rice-Owls-5-4-2024'],['Charlotte 49ers vs. Rice Owls','Robert and Mariam Hayes Stadium','Charlotte, NC','Sunday','5/5/2024','1:00 PM','6229331','Charlotte-49ers-vs--Rice-Owls-5-5-2024'],['Texas A&M Aggies vs. Rice Owls','Olsen Field at Blue Bell Park','College Station, TX','Tuesday','5/7/2024','6:00 PM','6153479','Texas-A-M-Aggies-vs--Rice-Owls-5-7-2024'],['Rice Owls vs. Lamar Cardinals','Reckling Park','Houston, TX','Wednesday','5/8/2024','6:30 PM','6033529','Rice-Owls-vs--Lamar-Cardinals-5-8-2024'],['Rice Owls vs. Florida Atlantic Owls','Reckling Park','Houston, TX','Friday','5/10/2024','6:30 PM','6033530','Rice-Owls-vs--Florida-Atlantic-Owls-5-10-2024'],['Rice Owls vs. Florida Atlantic Owls','Reckling Park','Houston, TX','Saturday','5/11/2024','2:00 PM','6033531','Rice-Owls-vs--Florida-Atlantic-Owls-5-11-2024'],['Rice Owls vs. Florida Atlantic Owls','Reckling Park','Houston, TX','Sunday','5/12/2024','1:00 PM','6033532','Rice-Owls-vs--Florida-Atlantic-Owls-5-12-2024'],['Houston Roughnecks vs. San Antonio Brahmas','Rice Owls Stadium','Houston, TX','Sunday','5/12/2024','2:00 PM','6249592','Houston-Roughnecks-vs--San-Antonio-Brahmas-5-12-2024'],['Rice Owls vs. Texas Southern Tigers','Reckling Park','Houston, TX','Tuesday','5/14/2024','6:30 PM','6033533','Rice-Owls-vs--Texas-Southern-Tigers-5-14-2024'],['East Carolina Pirates Vs. Rice Owls','Clark-LeClair Stadium','Greenville, NC','Thursday','5/16/2024','6:00 PM','6159121','East-Carolina-Pirates-Vs--Rice-Owls-5-16-2024'],['East Carolina Pirates Vs. Rice Owls','Clark-LeClair Stadium','Greenville, NC','Friday','5/17/2024','6:00 PM','6159122','East-Carolina-Pirates-Vs--Rice-Owls-5-17-2024'],['East Carolina Pirates Vs. Rice Owls','Clark-LeClair Stadium','Greenville, NC','Saturday','5/18/2024','1:00 PM','6159123','East-Carolina-Pirates-Vs--Rice-Owls-5-18-2024'],['Houston Roughnecks vs. Michigan Panthers','Rice Owls Stadium','Houston, TX','Sunday','5/26/2024','1:30 PM','6249593','Houston-Roughnecks-vs--Michigan-Panthers-5-26-2024'],['Rice Owls vs. Sam Houston Bearkats ','Rice Owls Stadium','Houston, TX','Saturday','8/31/2024','TBD','6117967','Rice-Owls-vs--Sam-Houston-Bearkats--8-31-2024'],['Rice Owls vs. Texas Southern Tigers','Rice Owls Stadium','Houston, TX','Saturday','9/7/2024','TBD','6299024','Rice-Owls-vs--Texas-Southern-Tigers-9-7-2024'],['Houston Cougars vs. Rice Owls','TDECU Stadium','Houston, TX','Saturday','9/14/2024','TBD','6134433','Houston-Cougars-vs--Rice-Owls-9-14-2024'],['Army West Point Black Knights vs. Rice Owls','Michie Stadium','West Point, NY','Saturday','9/21/2024','TBD','6298701','Army-West-Point-Black-Knights-vs--Rice-Owls-9-21-2024'],['Rice Owls vs. Charlotte 49ers','Rice Owls Stadium','Houston, TX','Saturday','9/28/2024','TBD','6299028','Rice-Owls-vs--Charlotte-49ers-9-28-2024'],['Rice Owls vs. UTSA Roadrunners','Rice Owls Stadium','Houston, TX','Saturday','10/12/2024','TBD','6299032','Rice-Owls-vs--UTSA-Roadrunners-10-12-2024'],['Tulane Green Wave vs. Rice Owls','Yulman Stadium','New Orleans, LA','Saturday','10/19/2024','TBD','6298992','Tulane-Green-Wave-vs--Rice-Owls-10-19-2024'],['UConn Huskies vs. Rice Owls','Pratt and Whitney Stadium At Rentschler Field','East Hartford, CT','Saturday','10/26/2024','TBD','6233516','UConn-Huskies-vs--Rice-Owls-10-26-2024'],['Rice Owls vs. Navy Midshipmen','Rice Owls Stadium','Houston, TX','Saturday','11/2/2024','TBD','6299036','Rice-Owls-vs--Navy-Midshipmen-11-2-2024'],['Memphis Tigers vs. Rice Owls','Simmons Bank Liberty Stadium','Memphis, TN','Friday','11/8/2024','TBD','6299046','Memphis-Tigers-vs--Rice-Owls-11-8-2024'],['UAB Blazers vs. Rice Owls','Protective Stadium','Birmingham, AL','Saturday','11/23/2024','TBD','6299004','UAB-Blazers-vs--Rice-Owls-11-23-2024'],['Rice Owls vs. South Florida Bulls (Date: TBD)','Rice Owls Stadium','Houston, TX','Friday','11/29/2024','TBD','6299040','Rice-Owls-vs--South-Florida-Bulls--Date--TBD--11-29-2024']],'Rice Owls','http://www.ticketnetwork.com/ticket/Rice-Owls-events.aspx');